/**
 * Created by yeanzhi on 15/7/13.
 */
var email   = require("emailjs/email");
var server  = email.server.connect({
	user:    "a1308118099@163.com",
	password:"s807754634",
	host:    "smtp.163.com",
	ssl:     true
});

// send the message and get a callback with an error or details of the message that was sent
server.send({
	text:    "i hope this works",
	from:    "you <a1308118099@163.com>",
	to:      "ximing@yeanzhi.cn,aq@oureda.cn",
	subject: "testing emailjs"
}, function(err, message) { console.log(err); });